package com.jeesite.modules.kj.api.vo.response;

import com.jeesite.modules.kj.entity.KjActivity;
import com.jeesite.modules.kj.entity.KjContributeProject;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.beans.BeanUtils;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class ProjectResponseVo {

    @ApiModelProperty(value = "ID")
    private String id;
    @ApiModelProperty(value = "项目名")
    private String name;



    @ApiModelProperty(value = "封面图")
    private String headimg;

    @ApiModelProperty(value = "目标积分")
    private BigDecimal target;

    @ApiModelProperty(value = "已捐赠积分")
    private BigDecimal contribute;

    @ApiModelProperty(value = "项目描述")
    private String description;

    @ApiModelProperty(value = "已捐赠用户数")
    private int totalUserNum;

    @ApiModelProperty(value = "是否点赞")
    private String isLike;

    public ProjectResponseVo() {
    }

    public ProjectResponseVo(KjContributeProject kjContributeProject) {
        BeanUtils.copyProperties(kjContributeProject, this);
    }
}
